package com.example.carrierapp.base;

import android.support.v4.widget.SwipeRefreshLayout;

/**
 * Created by Aghnad on 2016/11/4.
 */
public interface DataBasePresenterView {
    /**
     * 加载数据
     */
    void loadData();

    /**
     * 设置刷新
     *
     * @param refresh
     */
    void setRefresh(SwipeRefreshLayout refresh);

    /**
     * 刷新所有数据
     */
    void refreshData();

    /**
     * 关闭刷新
     */
    void closeRefresh();
}
